package com.yimi.yinhepda.entity.response;

import com.yimi.yinhepda.entity.bean.DispatchSmallAreaEntity;

import java.util.List;

/**
 * @author lj
 * Time: 2018/9/15 11:50
 * Description: 查询派送小区响应实体
 */
public class QueryDispatchSmallAreaResponse {
    private Data data;
    private boolean success;
    private String[] errorMessages;
    private int errorCode;
    private String symbol;

    public QueryDispatchSmallAreaResponse() {
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String[] getErrorMessages() {
        return errorMessages;
    }

    public void setErrorMessages(String[] errorMessages) {
        this.errorMessages = errorMessages;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public static class Data{
        private int pageSize;
        private int recordIndex;
        private int totalPage;
        private int totalRecord;
        private int currentPage;
        private int recordEnd;
        private int recordStart;
        private List<DispatchSmallAreaEntity> records;

        public Data() {
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getRecordIndex() {
            return recordIndex;
        }

        public void setRecordIndex(int recordIndex) {
            this.recordIndex = recordIndex;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getTotalRecord() {
            return totalRecord;
        }

        public void setTotalRecord(int totalRecord) {
            this.totalRecord = totalRecord;
        }

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getRecordEnd() {
            return recordEnd;
        }

        public void setRecordEnd(int recordEnd) {
            this.recordEnd = recordEnd;
        }

        public int getRecordStart() {
            return recordStart;
        }

        public void setRecordStart(int recordStart) {
            this.recordStart = recordStart;
        }

        public List<DispatchSmallAreaEntity> getRecords() {
            return records;
        }

        public void setRecords(List<DispatchSmallAreaEntity> records) {
            this.records = records;
        }
    }
}
